Skip to content

Conversation

@karlseguin
Copy link
Collaborator

This builds on top of #715

Supports GET and POST, but only supports the default encoding type, i.e. application/x-www-form-urlencoded. Currently can only be triggered by the sumbit() JavaScript function. Extending it to button click is the next step and should be a relatively simple addition.

karlseguin added a commit to lightpanda-io/demo that referenced this pull request May 29, 2025
I'm not sure that _any_ location instance should be able to change the page URL.
But you can't create a new location (i.e. new Location() isn't valid), and the
only two ways I know of are via `window.location` and `document.location` both
of which _should_ alter the location of the window/document.
Only supports application/x-www-form-urlencoded
@karlseguin karlseguin merged commit 6ca57c1 into main May 30, 2025
11 checks passed
@karlseguin karlseguin deleted the form_submit branch May 30, 2025 23:23
@github-actions github-actions bot locked and limited conversation to collaborators May 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants